package com.ruoyi.bus.domain;

import java.util.List;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 路线对象 wit_route
 * 
 * @author caiyanshan
 * @date 2021-04-14
 */
public class WitRoute extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 路线主键 */
    private Long routeId;

    /** 路线名称 */
    @Excel(name = "路线名称")
    private String routeName;

    /** 路线总长度 */
    @Excel(name = "路线总长度")
    private String routeTotalLength;

    /** 路线总时长 */
    @Excel(name = "路线总时长")
    private String routeTotalTime;

    /** 总站点数 */
    @Excel(name = "总站点数")
    private String routeTotalSite;

    /** 路线状态 */
    @Excel(name = "路线状态")
    private Integer routeStatus;

    /** 早班发车时间 */
/*    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "早班发车时间", width = 30, dateFormat = "yyyy-MM-dd")*/
    private String startAmTime;

    /** 晚班发车时间 */
/*    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "晚班发车时间", width = 30, dateFormat = "yyyy-MM-dd")*/
    private String startPmTime;
    
    private String siteName;
    
    private String longitude;
    
    private String latitude;
    
    private String userName;
    
    private String busNumber;
    
    private String phonenumber;

    private String paramName;

    private Integer appointHoliday;

    public Integer getAppointHoliday() {
        return appointHoliday;
    }

    public void setAppointHoliday(Integer appointHoliday) {
        this.appointHoliday = appointHoliday;
    }

    public String getParamName() {
        return paramName;
    }

    public void setParamName(String paramName) {
        this.paramName = paramName;
    }

    /** 站点路线信息 */
    private List<WitRouteSite> witRouteSiteList;
    
    public String getPhonenumber() {
        return phonenumber;
    }
    
    public void setPhonenumber(String phonenumber) {
        this.phonenumber = phonenumber;
    }
    
    public String getLongitude() {
        return longitude;
    }
    
    public void setLongitude(String longitude) {
        this.longitude = longitude;
    }
    
    public String getLatitude() {
        return latitude;
    }
    
    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }
    
    public String getUserName() {
        return userName;
    }
    
    public void setUserName(String userName) {
        this.userName = userName;
    }
    
    public String getBusNumber() {
        return busNumber;
    }
    
    public void setBusNumber(String busNumber) {
        this.busNumber = busNumber;
    }
    
    public String getSiteName() {
        return siteName;
    }
    
    public void setSiteName(String siteName) {
        this.siteName = siteName;
    }
    
    public String getStartAmTime() {
        return startAmTime;
    }
    
    public void setStartAmTime(String startAmTime) {
        this.startAmTime = startAmTime;
    }
    
    public String getStartPmTime() {
        return startPmTime;
    }
    
    public void setStartPmTime(String startPmTime) {
        this.startPmTime = startPmTime;
    }
    
    public void setRouteId(Long routeId)
    {
        this.routeId = routeId;
    }

    public Long getRouteId() 
    {
        return routeId;
    }
    public void setRouteName(String routeName) 
    {
        this.routeName = routeName;
    }

    public String getRouteName() 
    {
        return routeName;
    }
    public void setRouteTotalLength(String routeTotalLength) 
    {
        this.routeTotalLength = routeTotalLength;
    }

    public String getRouteTotalLength() 
    {
        return routeTotalLength;
    }
    public void setRouteTotalTime(String routeTotalTime) 
    {
        this.routeTotalTime = routeTotalTime;
    }

    public String getRouteTotalTime() 
    {
        return routeTotalTime;
    }
    public void setRouteTotalSite(String routeTotalSite) 
    {
        this.routeTotalSite = routeTotalSite;
    }

    public String getRouteTotalSite() 
    {
        return routeTotalSite;
    }
    public void setRouteStatus(Integer routeStatus) 
    {
        this.routeStatus = routeStatus;
    }

    public Integer getRouteStatus() 
    {
        return routeStatus;
    }

    public List<WitRouteSite> getWitRouteSiteList()
    {
        return witRouteSiteList;
    }

    public void setWitRouteSiteList(List<WitRouteSite> witRouteSiteList)
    {
        this.witRouteSiteList = witRouteSiteList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("routeId", getRouteId())
            .append("routeName", getRouteName())
            .append("routeTotalLength", getRouteTotalLength())
            .append("routeTotalTime", getRouteTotalTime())
            .append("routeTotalSite", getRouteTotalSite())
            .append("routeStatus", getRouteStatus())
            .append("startAmTime", getStartAmTime())
            .append("startPmTime", getStartPmTime())
            .append("createTime", getCreateTime())
            .append("witRouteSiteList", getWitRouteSiteList())
            .toString();
    }
}
